package com.lczyfz.istep.modules.scene.entity;

import java.util.ArrayList;

/**子网池实体类
 * Created by DH on 2017/3/31.
 */
public class SubnetPool {
    /** 子网池ID  **/
    private String spId;

    /** 子网池名  **/
    private String spName;

    /** 子网池项目ID  **/
    private String spTenantId;

    /** 子网池项目ID  **/
    private String spProjectId;

    /** 子网池创建端口时间  **/
    private String spCreatedAt;

    /** 子网池端口更新时间  **/
    private String spUpdatedAt;

    /** 要分配给子网池的子网前缀列表  **/
    private ArrayList<String> spPrefixes;

    /** 子网池是否默认池  **/
    private String is_default;

    /** IP协议版本  **/
    private String spIpVersion;

    /** 从子网池分配的默认前缀  **/
    private String default_prefixlen;

    public String toString(){
        return  "SubnetPool [subnetpoolId=" + spId + ", subnetpoolName=" + spName + ", subnetpoolTenantId=" + spTenantId + ", subnetpoolProjectId=" + spProjectId+ ", subnetpoolCreatedAt=" + spCreatedAt + ", subnetpoolUpdatedAt=" + spUpdatedAt+"]";
    }

    public String getSpId() {
        return spId;
    }

    public void setSpId(String spId) {
        this.spId = spId;
    }
    public String getSpName() {
        return spName;
    }

    public void setSpName(String spName) {
        this.spName = spName;
    }

    public String getSpTenantId() {
        return spTenantId;
    }

    public void setSpTenantId(String spTenantId) {
        this.spTenantId = spTenantId;
    }

    public String getSpProjectId() {
        return spProjectId;
    }

    public void setSpProjectId(String spProjectId) {
        this.spProjectId = spProjectId;
    }

    public String getSpCreatedAt() {
        return spCreatedAt;
    }

    public void setSpCreatedAt(String spCreatedAt) {
        this.spCreatedAt = spCreatedAt;
    }

    public String getSpUpdatedAt() {
        return spUpdatedAt;
    }

    public void setSpUpdatedAt(String spUpdatedAt) {
        this.spUpdatedAt = spUpdatedAt;
    }

    public String getSpIsDefault() {
        return is_default;
    }

    public void setSpIsDefault(String is_default) {
        this.is_default = is_default;
    }

    public ArrayList<String> getSpPrefixes() {
        return spPrefixes;
    }

    public void setSpPrefixes(ArrayList<String> spPrefixes) {
        this.spPrefixes = spPrefixes;
    }

    public String getSpIpVersion() {
        return spIpVersion;
    }

    public void setSpIpVersion(String spIpVersion) {
        this.spIpVersion = spIpVersion;
    }

    public String getSpDefaultPrefixlen() {
        return default_prefixlen;
    }

    public void setSpDefaultPrefixlen(String default_prefixlen) {
        this.default_prefixlen = default_prefixlen;
    }

}
